//
//  EFAppContext.h
//  EFHealth
//
//  Created by liumadu on 14-11-28.
//  Copyright (c) 2018年 ef. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface EFAppContext : NSObject

//作为是否已经登录的表示
@property (nonatomic, strong) NSString *ACCESS_TOKEN;

@property (nonatomic,strong) NSString *userName ;
@property (nonatomic,strong) NSString *passWard ;

@property (nonatomic, strong) NSString *userid;

@property (nonatomic,strong) NSString *birthday ;
@property (nonatomic,strong) NSString *height ;
@property (nonatomic,strong) NSString *weight ;
@property (nonatomic, strong) NSString *headUrl;
@property (nonatomic,strong) NSString *idcard ;
@property(nonatomic, strong) NSString *national;
@property (nonatomic,strong) NSString *rname ;
@property (nonatomic, strong) NSString *nick;
@property (nonatomic,strong) NSString *sex ;      //1男 2女
@property (nonatomic,strong) NSString *sick_history ;

@property (nonatomic,strong)NSString *userRealName;//先取真名，再取昵称


@property (nonatomic,strong) NSString *memberId ;
@property (nonatomic,strong) NSString *authorization ;
@property (nonatomic,strong) NSString *mobile ;
@property (nonatomic,strong) NSString *unitId ;

+ (instancetype)sharedContext;
- (void)save;
- (void)clear;
+ (BOOL)isUserLogin ;
@end
